package com.aires.testbeandefinitionregistrypostprocessor;

import org.springframework.beans.factory.annotation.Value;

/**
 * @program: spring
 * @description:
 * @author: fan zhengxiang
 * @create: 2020-11-02 21:05
 */
//@Component
public class AiresRegistry {

	@Value("22")
	private Integer age;

	public AiresRegistry() {
		System.out.println("AiresRegistry的构造方法执行了");
	}

	@Override
	public String toString() {
		return "AiresRegistry{" +
				"age=" + age +
				'}';
	}
}